// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
import 'muse-ui/dist/theme-teal.css'
import 'muse-ui/dist/css.css'
import 'muse-ui/dist/icon.css'
import App from './App'

Vue.use(VueRouter)
Vue.use(VueResource)
Vue.use(MuseUI)

import Hello from './components/Hello.vue'
import Index from './components/Index.vue'

const routes = [
  {path: '/', component: Hello},
  {path: '/hello', component: Hello}
]
const router = new VueRouter({
  routes
})


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  ...App
})
